import { axios } from '@/utils/request'
export function allGetTasksttleUserTemp() {
  return axios({
    url: '/sys/pt/settle/downloadTaskSettlementExcelTemplate',
    method: 'get',
    responseType: 'arraybuffer'
  })
}
export function allImportTaskSttleUser(data) {
  return axios({
    url: '/sys/pt/settle/importTaskSettlementPerson',
    method: 'post',
    data
  })
}
export function settleErrorUserApply(data) {
  return axios({
    url: '/sys/pt/settle/threeAudit',
    method: 'post',
    data
  })
}
export function allEditImportTaskSttleUser(data) {
  return axios({
    url: '/sys/pt/settle/updateSettlementPerson',
    method: 'post',
    data
  })
}
export function allClearTaskSttleUser(data) {
  return axios({
    url: '/sys/pt/settle/clearAllImportRecords',
    method: 'post',
    data
  })
}
export function allDelImportTaskSttleUser(data) {
  return axios({
    url: '/sys/pt/settle/deleteSettlementDetail',
    method: 'post',
    data
  })
}
export function allQueryImportTaskUserDJG(data) {
  return axios({
    url: '/sys/pt/settle/queryDjg',
    method: 'post',
    data
  })
}
export function allQueryTaskEnrollUserDJG(data) {
  return axios({
    url: '/sys/pt/settle/queryRegistrationPersonDjg',
    method: 'post',
    data
  })
}
export function allQueryImportTaskUserList(params) {
  return axios({
    url: '/sys/pt/settle/pageQueryImportedSettlementByTaskId',
    method: 'get',
    params:params
  })
}
export function allTaskSttleUserSubmit(data) {
  return axios({
    url: '/sys/pt/settle/confirm',
    method: 'post',
    data
  })
}
export function allQueryImportTaskSttleUserDetailedList(data) {
  return axios({
    url: '/sys/pt/settle/pageQueryImportedDetailByTaskId',
    method: 'post',
    data
  })
}
export function allQueryEnrollUserDetailedList(data) {
  return axios({
    url: '/sys/pt/settle/pageQueryRegisterDetailByTaskId',
    method: 'post',
    data
  })
}
export function allGetEnrollUser(importId) {
  return axios({
    url: '/sys/pt/settle/selectTaskRegisDetail?importId='+importId,
    method: 'get',
  })
}
export function allApplyEnrollUserInfo(data) {
  return axios({
    url: '/sys/pt/settle/auditTaskRegistration',
    method: 'post',
    data
  })
}
export function batchDelUserInfo(data) {
  return axios({
    url: '/sys/pt/settle/deleteImportRecords',
    method: 'post',
    data
  })
}
export function allGetTaskDeliverables(importId) {
  return axios({
    url: '/sys/pt/settle/selectTaskDelivery?importId='+importId,
    method: 'get',
  })
}
export function allApplyTaskDeliverables(data) {
  return axios({
    url: '/sys/pt/settle/auditTaskDelivery',
    method: 'post',
    data
  })
}
export function getSettlementCount(data) {
  return axios({
    url: '/sys/pt/settle/countPreSettlementByTaskId',
    method: 'post',
    data
  })
}
export function allCreateTaskSttleBill(data) {
  return axios({
    url: '/sys/pt/settle/addPreSettlement',
    method: 'post',
    data
  })
}
export function allQueryTaskSttleDetailedBillList(data) {
  return axios({
    url: '/sys/pt/settle/pageQueryPreSettlementByTaskId',
    method: 'post',
    data
  })
}
export function allEditTaskSttleBillAmount(data) {
  return axios({
    url: '/sys/pt/settle/updatePreSettlement',
    method: 'post',
    data
  })
}
export function allTaskSttleBillCancel(data) {
  return axios({
    url: '/sys/pt/settle/cancelPreSettlement',
    method: 'post',
    data
  })
}
export function allGetSttleEnterpriseIsOpenAccount(enterpriseId) {
  return axios({
    url: '/sys/pt/park/queryParkAssociationEnterpriseDetail?enterpriseId='+enterpriseId,
    method: 'get',
  })
}
export function allGetSttleParkIsOpenAccount(parkId) {
  return axios({
    url: '/sys/pt/enterprise/queryEnterpriseAssociationParkDetail?parkId='+parkId,
    method: 'get',
  })
}
export function allGetTaskSttleBillIsOpenAccount(parkId,enterpriseId) {
  return axios({
    url: '/sys/enterprise/queryEnterpriseAssociateParkAccount?parkId='+parkId+'&enterpriseId='+enterpriseId,
    method: 'get',
  })
}
export function allQueryEnterpriseBalance(params) {
  return axios({
    url: '/sys/pt/settle/currentEnterpriseBankBalanceQuery',
    method: 'get',
    params:params
  })
}
export function allSttleSendCode(params) {
  return axios({
    url: '/sys/pt/settle/submitSettlementSendSmsCode',
    method: 'get',
    params:params
  })
}
export function allSttleBillSuccess(data) {
  return axios({
    url: '/sys/pt/settle/addTaskSettlement',
    method: 'post',
    data
  })
}
export function allQueryHistoricImportTaskSttleUserDetailedList(data) {
  return axios({
    url: '/sys/pt/settle/pageQueryHistoricImportedSettlementByTaskId',
    method: 'post',
    data
  })
}
export function allQueryHistoricEnrollUserDetailedList(data) {
  return axios({
    url: '/sys/pt/settle/pageQueryHistoricAppletSettlementByTaskId',
    method: 'post',
    data
  })
}
export function allIdCardQuerySettleDetail(parameter) {
  return axios({
    url: '/sys/pt/settle/pageQueryDetailByIdCard',
    method: 'post',
    data: parameter
  })
}
export function allSettlementList(data) {
  return axios({
    url: '/sys/pt/settle/pageQuerySettlement',
    method: 'post',
    data
  })
}
export function allSettlementDetail(data) {
  return axios({
    url: '/sys/pt/settle/pageQuerySettlementDetailByBatchCode',
    method: 'post',
    data
  })
}
export function allSettlementSendCode(data) {
  return axios({
    url: '/sys/pt/settle/settlementApproveSmsCodeSend',
    method: 'post',
    data
  })
}
export function allSettlementVerifySuccess(data) {
  return axios({
    url: '/sys/pt/settle/settlementApprove',
    method: 'post',
    data
  })
}
export function allGetSettlementCmbMode(taskId) {
  return axios({
    url: '/sys/pt/settle/cmbDclismod?taskId='+taskId,
    method: 'get'
  })
}
export function allSettlementReject(data) {
  return axios({
    url: '/sys/pt/settle/settlementReject',
    method: 'post',
    data
  })
}
export function allSettleUploadDelivery(data) {
  return axios({
    url: '/sys/pt/settle/batchUploadTaskDelivery',
    method: 'post',
    data
  })
}
export function allSettleCancel(data) {
  return axios({
    url: '/sys/pt/settle/cancelSettlement',
    method: 'post',
    data
  })
}
export function allSettleVatCalc(data) {
  return axios({
    url: '/sys/pt/settle/calculateVatFee',
    method: 'post',
    data
  })
}
export function allGetSettleDetail(settleBatchCode) {
  return axios({
    url: '/sys/pt/settle/selectSettlementSummaryByBatchCode?settleBatchCode='+settleBatchCode,
    method: 'get'
  })
}
export function allPreviewLocalReceipt(settleBatchCode) {
  return axios({
    url: '/sys/pt/settle/applyLocalReceipt?settleBatchCode='+settleBatchCode,
    method: 'get'
  })
}
export function allSeaCmbReceipt(settleBatchCode) {
  return axios({
    url: '/sys/pt/settle/batchDownloadReceipt?settleBatchCode='+settleBatchCode,
    method: 'get'
  })
}
export function allSeaReceipt(settleBatchCode) {
  return axios({
    url: '/sys/pt/settle/bhApplyReceipt?settleBatchCode='+settleBatchCode,
    method: 'get'
  })
}
export function allisReceipt(detailId) {
  return axios({
    url: '/sys/pt/settle/preViewReceipt?detailId='+detailId,
    method: 'get'
  })
}
export function allImportSttleUser(params) {
  return axios({
    url: '/sys/pt/settle/exportTaskSettlementDetailByCondition',
    method: 'get',
    responseType: 'arraybuffer',
    params
  })
}
export function allImportNoDeliverables(params) {
  return axios({
    url: '/sys/pt/settle/exportTaskSettlementDetailNoDelivery',
    method: 'get',
    responseType: 'arraybuffer',
    params
  })
}
export function allImportTaskSttleBill(params) {
  return axios({
    url: '/sys/pt/settle/exportTaskSettlementDetailByCondition',
    method: 'get',
    params
  })
}
export function allImportSttleDelivery(data) {
  return axios({
    url: '/sys/pt/settle/batchUploadSettlementDelivery',
    method: 'post',
    data
  })
}
export function allSttleDeliveryEdit(data) {
  return axios({
    url: '/sys/pt/settle/updateRemark',
    method: 'post',
    data
  })
}
export function getSttleGrantList(data) {
  return axios({
    url: '/sys/pt/settle/pageQuerySettlementDetail',
    method: 'post',
    data
  })
}
export function exportSttleGrantExecl(data) {
  return axios({
    url: '/sys/pt/settle/exportSettlementDetail',
    method: 'post',
    responseType: 'arraybuffer',
    data
  })
}